﻿using Apache.NMS;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace HAActiveMQ.Entity
{
    public class BaseMq
    {
        /// <summary>
        /// Mq连接地址
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string User { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Pwd { get; set; }
        /// <summary>
        /// 消息ID
        /// </summary>
        public string Name { get; set; }

        protected NMSConnectionFactory factory { get; set; }
        protected IConnection connection { get; set; }
    }
}
